package jfood.ontology.query;

import java.util.logging.Level;

import jade.content.onto.BeanOntology;
import jade.content.onto.BeanOntologyException;
import jade.content.onto.Ontology;
import jade.util.Logger;

public class QueryOntology extends BeanOntology {

	private static final long serialVersionUID = 1631327561661618066L;
	public static final String NAME = "query-ontology";
    private static final Ontology instance = new QueryOntology();
    private QueryOntology() {
        super(NAME);
        try {
            add(String.class);
            add(StartWaiterAction.class);
            add(AskForMealAction.class);
            add(ResponseAction.class);
        } catch (BeanOntologyException ex) {
            Logger.getLogger(QueryOntology.class.getName()).log(Level.SEVERE, null, ex);
        }
    }

    public static Ontology getInstance() {
        return instance;
    }

}
